package com.jumi.microservice.constant;

/**
 * 日志操作类型枚举
 * @author Administrator
 */
public enum LogOperationTypeEnum {

    /**
     * 日志操作类
     */
    OPERATION_ADD(0,"添加"),
    OPERATION_UPDATE(1,"编辑"),
    OPERATION_DELETE(2,"删除");

    private int code;
    private String desc;

    LogOperationTypeEnum(int code, String desc){
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
